package ejb;

import entities.Clients;
import javax.ejb.Stateless;

/**
 *
 * @author CDI215
 */
@Stateless
public class GererCompte implements GererCompteLocal {

    Clients leClient;
    
    @Override
    public void init(){
        leClient = new Clients();
    }

    @Override
    public Clients voir(Long id){
        Clients cli=new Clients(id);
        
        return cli;
    }
    
    @Override
    public Clients getLeClient() {
        return leClient;
    }
    
    @Override
    public void setLeClient(Clients leClient) {
        this.leClient = leClient;
    }
    
    
}
